import service from "@/utils/request";

export default {
    getPermissionList() {
        return service.get('/admin/acl/permission')
    },
    deletePermission(id) {
        return service.delete(`/admin/acl/permission/remove/${id}`)
    },
    addPermission(permissionParams) {
        return service.post('/admin/acl/permission/save', permissionParams)
    },
    updatePerimission(permissionParams) {
        return service.put('/admin/acl/permission/update', permissionParams)
    }
}